<?php
namespace slinks\extensions\action\configuration;

/**
 * Result mapping contains the @Result configuration for a given action. 
 */
interface IResultMapping {
	
        /**
         * @return string the name of the result mapping that should be compared against the Actions return value.
         *         If the actions return value matches this name then the given reslt type will be used.
         */
	public function getName();
	
	/**
	 * This cooresponds to the name of the IResult that will handle the actions result. 
	 * @return string the type for this result. 
	 */
	public function getType();
	
        /**
         * The value that will be passed to the IResult for execution. 
         */
	public function getValue();
}